package com.dji.sample.manage.service;

import com.dji.sample.manage.model.entity.DevicePositionEntity;
import com.dji.sample.manage.model.receiver.DevicePositionReceiver;

import java.util.List;

/**
 * @author yjt
 * @date 2022-09-08
 * @description:
 */
public interface DevicePositionService {

    void save(DevicePositionReceiver devicePositionReceiver);

    List<DevicePositionEntity> selectDevicePosition(String deviceSn, String time);

    List<DevicePositionEntity> list(String deviceSn, Long geId,Long leId);

    DevicePositionEntity getLastDevicePosition(String deviceSn,String time);
}
